<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="description" content="Мебель На Заказ">
	{link_tag(site_url('css/style.css'))}
	{link_tag(site_url('css/nivo-slider.css'))}
	<link rel="shortcut icon" href="favicon.ico" />

	<title>Мебель На Заказ</title>
</head>

<body>
<body>
	<div id="wrapper">
		<div id="header">
		{assign current_page 'about'}
			<div id="logo"><a href="{site_url()}"><img src="{site_url('img/logo.jpg')}" width="290" height="83" alt="" /></a></div>
				<div class="right">
					<div id="top_right">
					</div>
					<div id="nav">
						<ul>
							<li><a href="{site_url('admin')}" class='current'>Админ</a></li>
						</ul>
					</div>
				</div>
				<div class="clear"></div>
			</div>
		<div id="container">
			<div class="wrap_dark">
				<div id="black">
					<div style="padding:0 629px 14px 0"><h2>Логин</h2></div>
					<div class="login">
						{if $this->session->flashdata('message')}
							<p>{$this->session->flashdata('message')}</p>
						{/if}
						{form_open(site_url('admin/auth/login'))}
							<table border="0" cellpadding="0" cellspacing="0" width="620">
								<tbody><tr>
									<td width="340">{form_input('user_name',set_value('user_name'),"class='input'")}</td>
									<td>Имя</td>
									<td>{form_error('user_name')}</td>
								</tr>
								<tr>
									<td height='51'>{form_password('user_pass','',"class='input'")}</td>
									<td>Пароль</td>
									<td>{form_error('user_pass')}</td>
								</tr>
							</tbody></table>
							<div style="padding:0 0 14px 0">{form_submit('login', ' ', 'class="submit"')}</div>
						{form_close()}
					</div>
				</div> 			
			</div>		
		</div>
		<div id="footer_side">
			<div id="footer_side_in">
				<div class="clear"></div>
			</div>
		</div>
		<div id="footer">
			<div id="footer_in"><b>TS</b> © Все права защищены</div>			
		</div>
	</div>	

</body></html>
